package sz.szsmk.citizencard.model.network.bean.response;

import java.util.List;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/8/28 16:03
 * description:
 */
public class QueryPageResourceRes extends BaseBean {


    /**
     * main_title : 热销
     * sub_title : 苏州市民卡内容
     * resource_list : [{"resource_id":4,"display_type":2,"link_url":"https://www.baidu.com/","resource_url":"http://115.159.119.237:8000/pic/mainpage/copy2.png","rank":1,"width":null,"height":null},{"resource_id":5,"display_type":2,"link_url":"https://www.baidu.com/","resource_url":"http://115.159.119.237:8000/pic/mainpage/copy3.png","rank":2,"width":null,"height":null},{"resource_id":6,"display_type":2,"link_url":"https://www.baidu.com/","resource_url":"http://115.159.119.237:8000/pic/mainpage/copy7.png","rank":3,"width":null,"height":null},{"resource_id":7,"display_type":2,"link_url":"https://www.baidu.com/","resource_url":"http://115.159.119.237:8000/pic/mainpage/copy8.png","rank":4,"width":null,"height":null},{"resource_id":8,"display_type":2,"link_url":"https://www.baidu.com/","resource_url":"http://115.159.119.237:8000/pic/mainpage/copy9.png","rank":5,"width":null,"height":null},{"resource_id":9,"display_type":2,"link_url":"https://www.baidu.com/","resource_url":"http://115.159.119.237:8000/pic/mainpage/copy10.png","rank":6,"width":null,"height":null},{"resource_id":10,"display_type":2,"link_url":"https://www.baidu.com/","resource_url":"http://115.159.119.237:8000/pic/mainpage/copy11.png","rank":7,"width":null,"height":null}]
     */

    private String main_title;
    private String sub_title;
    private List<ResourceListBean> resource_list;

    public String getMain_title() {
        return main_title;
    }

    public void setMain_title(String main_title) {
        this.main_title = main_title;
    }

    public String getSub_title() {
        return sub_title;
    }

    public void setSub_title(String sub_title) {
        this.sub_title = sub_title;
    }

    public List<ResourceListBean> getResource_list() {
        return resource_list;
    }

    public void setResource_list(List<ResourceListBean> resource_list) {
        this.resource_list = resource_list;
    }

    public static class ResourceListBean {
        /**
         * resource_id : 4
         * display_type : 2
         * link_url : https://www.baidu.com/
         * resource_url : http://115.159.119.237:8000/pic/mainpage/copy2.png
         * rank : 1
         * width : null
         * height : null
         */

        private int resource_id;
        private int display_type;
        private String link_url;
        private String resource_url;
        private int need_header;

        private int modularId;

        private int rank;
//        private int need_header;


        public int getModularId() {
            return modularId;
        }

        public void setModularId(int modularId) {
            this.modularId = modularId;
        }

        public int getNeed_header() {
            return need_header;
        }

        public void setNeed_header(int need_header) {
            this.need_header = need_header;
        }

        private String sys_label;

        public String getSys_label() {
            return sys_label;
        }

        public void setSys_label(String sys_label) {
            this.sys_label = sys_label;
        }

        private Object width;
        private Object height;

        public int getResource_id() {
            return resource_id;
        }

        public void setResource_id(int resource_id) {
            this.resource_id = resource_id;
        }

        public int getDisplay_type() {
            return display_type;
        }

        public void setDisplay_type(int display_type) {
            this.display_type = display_type;
        }

        public String getLink_url() {
            return link_url;
        }

        public void setLink_url(String link_url) {
            this.link_url = link_url;
        }

        public String getResource_url() {
            return resource_url;
        }

        public void setResource_url(String resource_url) {
            this.resource_url = resource_url;
        }

        public int getRank() {
            return rank;
        }

        public void setRank(int rank) {
            this.rank = rank;
        }

        public Object getWidth() {
            return width;
        }

        public void setWidth(Object width) {
            this.width = width;
        }

        public Object getHeight() {
            return height;
        }

        public void setHeight(Object height) {
            this.height = height;
        }
    }
}
